[−][src]Crate koto_bytecode
koto_bytecode
Contains Koto's compiler and its bytecode operations
Structs
Chunk | A compiled chunk of bytecode, along with its associated constants and metadata |
Compiler | The compiler used by the Koto language |
CompilerError | The error type used to report errors during compilation |
CompilerSettings | The settings used by the Compiler |
DebugInfo | Debug information for a Koto program |
FunctionFlags | |
InstructionReader | An iterator that converts bytecode into a series of Instructions |
Loader | Helper for loading, compiling, and caching Koto modules |
Enums
Instruction | Decoded instructions produced by an InstructionReader for execution in the runtime |
LoaderError | Errors that can be returned from Loader operations |
Op | The operation identifiers used in Koto bytecode |
TypeId |
Functions
chunk_to_string | Returns a String displaying the instructions contained in the compiled Chunk |
chunk_to_string_annotated | Returns a String displaying the annotated instructions contained in the compiled Chunk |